package com.abvnet.project.water.project.mapper;

import com.abvnet.project.water.project.domain.ProjectCustomerLog;

import java.util.List;

/**
 * 客户日志 数据层
 * 
 * @author duj
 * @date 2019-08-17
 */
public interface ProjectCustomerLogMapper {
	/**
     * 查询客户日志信息
     * 
     * @param customerLogId 客户日志ID
     * @return 客户日志信息
     */
	ProjectCustomerLog selectProjectCustomerLogById(Long customerLogId);
	
	/**
     * 查询客户日志列表
     * 
     * @param projectCustomerLog 客户日志信息
     * @return 客户日志集合
     */
	List<ProjectCustomerLog> selectProjectCustomerLogList(ProjectCustomerLog projectCustomerLog);

	List<ProjectCustomerLog> selectProjectCustomerLogListForApi(ProjectCustomerLog projectCustomerLog);

	/**
     * 新增客户日志
     * 
     * @param projectCustomerLog 客户日志信息
     * @return 结果
     */
	int insertProjectCustomerLog(ProjectCustomerLog projectCustomerLog);
	
	/**
     * 修改客户日志
     * 
     * @param projectCustomerLog 客户日志信息
     * @return 结果
     */
	int updateProjectCustomerLog(ProjectCustomerLog projectCustomerLog);
	
	/**
     * 删除客户日志
     * 
     * @param customerLogId 客户日志ID
     * @return 结果
     */
	int deleteProjectCustomerLogById(Long customerLogId);
	
	/**
     * 批量删除客户日志
     * 
     * @param customerLogIds 需要删除的数据ID
     * @return 结果
     */
	int deleteProjectCustomerLogByIds(String[] customerLogIds);
	
}